from django.contrib import admin
from .models import Category,Post,Tag,Sidebar

class BlogAdmin(admin.ModelAdmin):
    list_display = ["title","desc","category","content","tags","owner","add_date","pub_date"]

admin.site.register(Category)
admin.site.register(Post,BlogAdmin)
admin.site.register(Tag)
admin.site.register(Sidebar)


# Register your models here.
